Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ameba] Use wifi info in persistentstorage for reconnection after reboot #18661

Merged
merged 8 commits into from
May 31, 2022

Conversation

pankore
Copy link
Contributor

@pankore pankore commented May 20, 2022

Problem

  • Ameba is currently using an external example to reconnect to wifi after rebooting
  • Needs to reconnect using wifi credentials stored in persisted storage
  • Ameba needs to init OTA requestor after obtaining IPv6 address

Change overview

  • Implement AmebaUtils for wifi related functions
  • Update ConnectivityManager and NetworkCommissioningWiFiDriver to use AmebaUtils
  • Add missing key-value namespaces
  • Add OTAInitializer to initialize OTA requestor after getting an IPv6 address

Testing

  • Tested reconnection to wifi after reboot
  • OTA requestor is initialized after getting IPv6

@github-actions
Copy link

github-actions bot commented May 20, 2022

PR #18661: Size comparison from d346617 to 009d628

Full report (32 builds for cc13x2_26x2, cyw30739, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section d346617 009d628 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 666483 666483 0 0.0
(read/write) 184204 184204 0 0.0
.bss 73668 73668 0 0.0
.data 3404 3404 0 0.0
.rodata 99611 99611 0 0.0
.text 566644 566644 0 0.0
lock-ftd LP_CC2652R7 (read only) 676315 676315 0 0.0
(read/write) 166340 166340 0 0.0
.bss 72692 72692 0 0.0
.data 3236 3236 0 0.0
.rodata 94379 94379 0 0.0
.text 581452 581452 0 0.0
lock-mtd LP_CC2652R7 (read only) 625139 625139 0 0.0
(read/write) 145524 145524 0 0.0
.bss 68428 68428 0 0.0
.data 3236 3236 0 0.0
.rodata 94267 94267 0 0.0
.text 530380 530380 0 0.0
pump-app LP_CC2652R7 (read only) 659595 659595 0 0.0
(read/write) 184340 184340 0 0.0
.bss 72948 72948 0 0.0
.data 3268 3268 0 0.0
.rodata 79371 79371 0 0.0
.text 579744 579744 0 0.0
pump-controller-app LP_CC2652R7 (read only) 654083 654083 0 0.0
(read/write) 189660 189660 0 0.0
.bss 73012 73012 0 0.0
.data 3232 3232 0 0.0
.rodata 83475 83475 0 0.0
.text 570128 570128 0 0.0
shell LP_CC2652R7 (read only) 659562 659562 0 0.0
(read/write) 186684 186684 0 0.0
.bss 76028 76028 0 0.0
.data 3408 3408 0 0.0
.rodata 96578 96578 0 0.0
.text 562760 562760 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624306 624306 0 0.0
.app_xip_area 527920 527920 0 0.0
.bss 79028 79028 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 627126 627126 0 0.0
.app_xip_area 532196 532196 0 0.0
.bss 77604 77604 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 571030 571030 0 0.0
.app_xip_area 466384 466384 0 0.0
.bss 87024 87024 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
esp32 all-clusters-app c3devkit (read only) 1000454 1000454 0 0.0
(read/write) 1477442 1477442 0 0.0
.dram0.bss 68232 68232 0 0.0
.dram0.data 14632 14632 0 0.0
.flash.rodata 209136 209136 0 0.0
.flash.text 1000454 1000454 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1055815 1055815 0 0.0
(read/write) 479452 479452 0 0.0
.dram0.bss 73752 73752 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239504 239504 0 0.0
.flash.text 1050431 1050431 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682204 682204 0 0.0
.bss 80224 80224 0 0.0
.data 2016 2016 0 0.0
.text 598260 598260 0 0.0
lock k32w061+release (read/write) 728352 728352 0 0.0
.bss 80656 80656 0 0.0
.data 1976 1976 0 0.0
.text 644016 644016 0 0.0
linux all-clusters-app debug (read only) 2749601 2749601 0 0.0
(read/write) 176032 176032 0 0.0
.bss 85152 85152 0 0.0
.data 2064 2064 0 0.0
.data.rel.ro 82648 82648 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 240221 240221 0 0.0
.text 2335090 2335090 0 0.0
bridge-app debug+rpc (read only) 2033289 2033289 0 0.0
(read/write) 147736 147736 0 0.0
.bss 72864 72864 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65352 65352 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 168553 168553 0 0.0
.text 1707714 1707714 0 0.0
chip-tool debug (read only) 9448125 9448125 0 0.0
(read/write) 579160 579160 0 0.0
.bss 23936 23936 0 0.0
.data 1152 1152 0 0.0
.data.rel.ro 547768 547768 0 0.0
.dynamic 624 624 0 0.0
.got 5000 5000 0 0.0
.init 27 27 0 0.0
.init_array 656 656 0 0.0
.rodata 481149 481149 0 0.0
.text 7640165 7640165 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9196052 9196052 0 0.0
(read/write) 645297 645297 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583048 583048 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 446036 446036 0 0.0
.text 7288116 7288116 0 0.0
lighting-app debug+rpc (read only) 2325081 2325081 0 0.0
(read/write) 153152 153152 0 0.0
.bss 74656 74656 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70696 70696 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 187561 187561 0 0.0
.text 1971266 1971266 0 0.0
lock-app debug (read only) 2238577 2238577 0 0.0
(read/write) 147864 147864 0 0.0
.bss 73344 73344 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67256 67256 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 198201 198201 0 0.0
.text 1880514 1880514 0 0.0
ota-provider-app debug (read only) 2063721 2063721 0 0.0
(read/write) 140912 140912 0 0.0
.bss 72800 72800 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60552 60552 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179296 179296 0 0.0
.text 1725954 1725954 0 0.0
ota-requestor-app debug (read only) 2092737 2092737 0 0.0
(read/write) 143752 143752 0 0.0
.bss 73472 73472 0 0.0
.data 1992 1992 0 0.0
.data.rel.ro 62648 62648 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175360 175360 0 0.0
.text 1757442 1757442 0 0.0
shell debug (read only) 2565425 2565425 0 0.0
(read/write) 199800 199800 0 0.0
.bss 115816 115816 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 76848 76848 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 936 936 0 0.0
.rodata 221266 221266 0 0.0
.text 2183250 2183250 0 0.0
thermostat-no-ble arm64 (read only) 2354116 2354116 0 0.0
(read/write) 176321 176321 0 0.0
.bss 87617 87617 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79384 79384 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147332 147332 0 0.0
.text 1977904 1977904 0 0.0
tv-app debug (read only) 2854129 2854129 0 0.0
(read/write) 278816 278816 0 0.0
.bss 190776 190776 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 77096 77096 0 0.0
.dynamic 592 592 0 0.0
.got 4720 4720 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 220593 220593 0 0.0
.text 2451458 2451458 0 0.0
tv-casting-app debug (read only) 5421665 5421665 0 0.0
(read/write) 225056 225056 0 0.0
.bss 78360 78360 0 0.0
.data 2368 2368 0 0.0
.data.rel.ro 138096 138096 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 339105 339105 0 0.0
.text 4723186 4723186 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418432 2418432 0 0.0
.bss 202668 202668 0 0.0
.data 5872 5872 0 0.0
.text 1381076 1381076 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1180075 1180075 0 0.0
bss 138400 138400 0 0.0
rodata 152340 152340 0 0.0
text 810484 810484 0 0.0
p6 all-clusters-app default (read/write) 2537888 2537888 0 0.0
.bss 136200 136200 0 0.0
.data 2808 2808 0 0.0
.text 1496152 1496152 0 0.0
light-app default (read/write) 2424104 2424104 0 0.0
.bss 129488 129488 0 0.0
.data 2608 2608 0 0.0
.text 1382368 1382368 0 0.0
lock-app default (read/write) 2434792 2434792 0 0.0
.bss 129304 129304 0 0.0
.data 2568 2568 0 0.0
.text 1393056 1393056 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 781564 781564 0 0.0
bss 70616 70616 0 0.0
noinit 40416 40416 0 0.0
text 552934 552934 0 0.0
lighting-app tlsr9518adk80d (read/write) 801644 801644 0 0.0
bss 70872 70872 0 0.0
noinit 40416 40416 0 0.0
text 569700 569700 0 0.0

@pankore
Copy link
Contributor Author

pankore commented May 23, 2022

/rebase

@github-actions
Copy link

github-actions bot commented May 23, 2022

PR #18661: Size comparison from 7afd352 to 6ee1798

Full report (27 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section 7afd352 6ee1798 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 668423 668423 0 0.0
(read/write) 183216 183216 0 0.0
.bss 74620 74620 0 0.0
.data 3404 3404 0 0.0
.rodata 99895 99895 0 0.0
.text 568304 568304 0 0.0
lock-ftd LP_CC2652R7 (read only) 675919 675919 0 0.0
(read/write) 166864 166864 0 0.0
.bss 72820 72820 0 0.0
.data 3236 3236 0 0.0
.rodata 94407 94407 0 0.0
.text 581028 581028 0 0.0
lock-mtd LP_CC2652R7 (read only) 625327 625327 0 0.0
(read/write) 145652 145652 0 0.0
.bss 68556 68556 0 0.0
.data 3236 3236 0 0.0
.rodata 94287 94287 0 0.0
.text 530548 530548 0 0.0
pump-app LP_CC2652R7 (read only) 676003 676003 0 0.0
(read/write) 168268 168268 0 0.0
.bss 73284 73284 0 0.0
.data 3272 3272 0 0.0
.rodata 88899 88899 0 0.0
.text 586620 586620 0 0.0
pump-controller-app LP_CC2652R7 (read only) 653963 653963 0 0.0
(read/write) 189908 189908 0 0.0
.bss 73140 73140 0 0.0
.data 3232 3232 0 0.0
.rodata 83675 83675 0 0.0
.text 569808 569808 0 0.0
shell LP_CC2652R7 (read only) 661510 661510 0 0.0
(read/write) 185688 185688 0 0.0
.bss 76980 76980 0 0.0
.data 3408 3408 0 0.0
.rodata 96862 96862 0 0.0
.text 564420 564420 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 624150 624150 0 0.0
.app_xip_area 527508 527508 0 0.0
.bss 79284 79284 0 0.0
.data 708 708 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 626962 626962 0 0.0
.app_xip_area 531776 531776 0 0.0
.bss 77860 77860 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570882 570882 0 0.0
.app_xip_area 465980 465980 0 0.0
.bss 87280 87280 0 0.0
.data 584 584 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 915988 915988 0 0.0
(read/write) 133372 133372 0 0.0
.bss 131312 131312 0 0.0
.data 2060 2060 0 0.0
.text 915980 915980 0 0.0
BRD4161A+rpc (read only) 950176 950176 0 0.0
(read/write) 150056 150056 0 0.0
.bss 147792 147792 0 0.0
.data 2264 2264 0 0.0
.text 950168 950168 0 0.0
BRD4161A+rs911x (read only) 790548 790548 0 0.0
(read/write) 129640 129640 0 0.0
.bss 127572 127572 0 0.0
.data 2068 2068 0 0.0
.text 790540 790540 0 0.0
lock-app BRD4161A+wf200 (read only) 946760 946760 0 0.0
(read/write) 124124 124124 0 0.0
.bss 122100 122100 0 0.0
.data 2024 2024 0 0.0
.text 946752 946752 0 0.0
window-app BRD4161A (read only) 897260 897260 0 0.0
(read/write) 133432 133432 0 0.0
.bss 131384 131384 0 0.0
.data 2048 2048 0 0.0
.text 897252 897252 0 0.0
esp32 all-clusters-app c3devkit (read only) 1002770 1002770 0 0.0
(read/write) 1478850 1478850 0 0.0
.dram0.bss 69176 69176 0 0.0
.dram0.data 14624 14624 0 0.0
.flash.rodata 209616 209616 0 0.0
.flash.text 1002770 1002770 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057579 1057579 0 0.0
(read/write) 480864 480864 0 0.0
.dram0.bss 74704 74704 0 0.0
.dram0.data 34200 34200 0 0.0
.flash.rodata 239964 239964 0 0.0
.flash.text 1052195 1052195 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 682488 682488 0 0.0
.bss 80352 80352 0 0.0
.data 2016 2016 0 0.0
.text 598416 598416 0 0.0
lock k32w061+release (read/write) 728636 728636 0 0.0
.bss 80784 80784 0 0.0
.data 1976 1976 0 0.0
.text 644172 644172 0 0.0
linux chip-tool-no-interactive-ipv6only arm64 (read only) 9206580 9206580 0 0.0
(read/write) 645361 645361 0 0.0
.bss 42225 42225 0 0.0
.data 1192 1192 0 0.0
.data.rel.ro 583112 583112 0 0.0
.dynamic 560 560 0 0.0
.got 14984 14984 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 446692 446692 0 0.0
.text 7297844 7297844 0 0.0
thermostat-no-ble arm64 (read only) 2357292 2357292 0 0.0
(read/write) 176849 176849 0 0.0
.bss 88113 88113 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79416 79416 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147548 147548 0 0.0
.text 1980768 1980768 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2418936 2418936 0 0.0
.bss 202796 202796 0 0.0
.data 5872 5872 0 0.0
.text 1381580 1381580 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1183235 1183235 0 0.0
bss 139348 139348 0 0.0
rodata 152796 152796 0 0.0
text 812296 812296 0 0.0
p6 all-clusters-app default (read/write) 2540688 2540688 0 0.0
.bss 137144 137144 0 0.0
.data 2808 2808 0 0.0
.text 1498952 1498952 0 0.0
light-app default (read/write) 2424552 2424552 0 0.0
.bss 129616 129616 0 0.0
.data 2608 2608 0 0.0
.text 1382816 1382816 0 0.0
lock-app default (read/write) 2435240 2435240 0 0.0
.bss 129432 129432 0 0.0
.data 2568 2568 0 0.0
.text 1393504 1393504 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 782400 782400 0 0.0
bss 70744 70744 0 0.0
noinit 40416 40416 0 0.0
text 553442 553442 0 0.0
lighting-app tlsr9518adk80d (read/write) 802420 802420 0 0.0
bss 71000 71000 0 0.0
noinit 40416 40416 0 0.0
text 570154 570154 0 0.0

@pankore pankore requested a review from andy31415 May 25, 2022 04:03
pankore and others added 8 commits May 27, 2022 10:13
- Add chip-failsafe, chip-sessionresumptionindex, chip-sessionresumption
- Remove chip-dns
- Add chip-deviceinfoprovider
…ter reboot

* Implement AmebaUtils for wifi helper functions
* Update ConnectivityManagerImpl and NetworkCommissioningDriverWiFi to use AmebaUtils functions
* Add ChipGroupMessageCounters, ChipOthers2
* Remove ChipSessionResumptionIndex, which will be part of ChipOthers
* Add OTAHelper to initiate ota requestor from DeviceCallback
* Edit ConnectivityManager to allow link local IPv6 addresses
@pankore pankore force-pushed the connectivity_update branch from 689a535 to 9f44742 Compare May 27, 2022 02:13
@github-actions
Copy link

github-actions bot commented May 27, 2022

PR #18661: Size comparison from e7bb258 to 9f44742

Full report (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
platform target config section e7bb258 9f44742 change % change
cc13x2_26x2 all-clusters-app LP_CC2652R7 (read only) 644979 644979 0 0.0
(read/write) 159144 159144 0 0.0
.bss 74828 74828 0 0.0
.data 3400 3400 0 0.0
.rodata 83747 83747 0 0.0
.text 560996 560996 0 0.0
lock-ftd LP_CC2652R7 (read only) 679295 679295 0 0.0
(read/write) 163776 163776 0 0.0
.bss 72852 72852 0 0.0
.data 3264 3264 0 0.0
.rodata 96055 96055 0 0.0
.text 582756 582756 0 0.0
lock-mtd LP_CC2652R7 (read only) 628695 628695 0 0.0
(read/write) 145968 145968 0 0.0
.bss 68588 68588 0 0.0
.data 3264 3264 0 0.0
.rodata 95935 95935 0 0.0
.text 532268 532268 0 0.0
pump-app LP_CC2652R7 (read only) 675715 675715 0 0.0
(read/write) 168524 168524 0 0.0
.bss 73252 73252 0 0.0
.data 3300 3300 0 0.0
.rodata 88531 88531 0 0.0
.text 586700 586700 0 0.0
pump-controller-app LP_CC2652R7 (read only) 653643 653643 0 0.0
(read/write) 190452 190452 0 0.0
.bss 73108 73108 0 0.0
.data 3260 3260 0 0.0
.rodata 83275 83275 0 0.0
.text 569888 569888 0 0.0
shell LP_CC2652R7 (read only) 637986 637986 0 0.0
(read/write) 154708 154708 0 0.0
.bss 77188 77188 0 0.0
.data 3404 3404 0 0.0
.rodata 80722 80722 0 0.0
.text 557032 557032 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 621510 621510 0 0.0
.app_xip_area 524788 524788 0 0.0
.bss 79364 79364 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
lock cyw930739m2evb_01 (read/write) 630210 630210 0 0.0
.app_xip_area 534960 534960 0 0.0
.bss 77924 77924 0 0.0
.data 672 672 0 0.0
.rodata 0 0 0 0.0
.text 0 0 0 0.0
ota-requestor-no-progress-logging cyw930739m2evb_01 (read/write) 570614 570614 0 0.0
.app_xip_area 465684 465684 0 0.0
.bss 87284 87284 0 0.0
.data 612 612 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A (read only) 913936 913936 0 0.0
(read/write) 133448 133448 0 0.0
.bss 131352 131352 0 0.0
.data 2092 2092 0 0.0
.text 913928 913928 0 0.0
BRD4161A+rpc (read only) 948108 948108 0 0.0
(read/write) 150136 150136 0 0.0
.bss 147840 147840 0 0.0
.data 2296 2296 0 0.0
.text 948100 948100 0 0.0
BRD4161A+rs911x (read only) 788508 788508 0 0.0
(read/write) 129712 129712 0 0.0
.bss 127612 127612 0 0.0
.data 2100 2100 0 0.0
.text 788500 788500 0 0.0
lock-app BRD4161A+wf200 (read only) 953864 953864 0 0.0
(read/write) 128484 128484 0 0.0
.bss 126420 126420 0 0.0
.data 2064 2064 0 0.0
.text 953856 953856 0 0.0
window-app BRD4161A (read only) 898880 898880 0 0.0
(read/write) 133504 133504 0 0.0
.bss 131416 131416 0 0.0
.data 2088 2088 0 0.0
.text 898872 898872 0 0.0
esp32 all-clusters-app c3devkit (read only) 1002224 1002224 0 0.0
(read/write) 1479314 1479314 0 0.0
.dram0.bss 69400 69400 0 0.0
.dram0.data 14640 14640 0 0.0
.flash.rodata 209840 209840 0 0.0
.flash.text 1002224 1002224 0 0.0
.iram0.text 62954 62954 0 0.0
m5stack (read only) 1057135 1057135 0 0.0
(read/write) 481288 481288 0 0.0
.dram0.bss 74912 74912 0 0.0
.dram0.data 34208 34208 0 0.0
.flash.rodata 240172 240172 0 0.0
.flash.text 1051751 1051751 0 0.0
.iram0.text 123267 123267 0 0.0
k32w light k32w061+release (read/write) 680744 680744 0 0.0
.bss 80424 80424 0 0.0
.data 2008 2008 0 0.0
.text 596608 596608 0 0.0
lock k32w061+release (read/write) 732084 732084 0 0.0
.bss 80856 80856 0 0.0
.data 1976 1976 0 0.0
.text 647548 647548 0 0.0
linux all-clusters-app debug (read only) 2751177 2751177 0 0.0
(read/write) 178240 178240 0 0.0
.bss 86496 86496 0 0.0
.data 2032 2032 0 0.0
.data.rel.ro 83560 83560 0 0.0
.dynamic 608 608 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 1016 1016 0 0.0
.rodata 242013 242013 0 0.0
.text 2335570 2335570 0 0.0
bridge-app debug+rpc (read only) 2023745 2023745 0 0.0
(read/write) 147896 147896 0 0.0
.bss 73120 73120 0 0.0
.data 3936 3936 0 0.0
.data.rel.ro 65272 65272 0 0.0
.dynamic 592 592 0 0.0
.got 4272 4272 0 0.0
.init 27 27 0 0.0
.init_array 688 688 0 0.0
.rodata 168096 168096 0 0.0
.text 1699490 1699490 0 0.0
chip-tool debug (read only) 9660005 9660005 0 0.0
(read/write) 602608 602608 0 0.0
.bss 23936 23936 0 0.0
.data 1120 1120 0 0.0
.data.rel.ro 571264 571264 0 0.0
.dynamic 624 624 0 0.0
.got 5008 5008 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 492669 492669 0 0.0
.text 7774261 7774261 0 0.0
chip-tool-no-interactive-ipv6only arm64 (read only) 9402692 9402692 0 0.0
(read/write) 668801 668801 0 0.0
.bss 42225 42225 0 0.0
.data 1176 1176 0 0.0
.data.rel.ro 606568 606568 0 0.0
.dynamic 560 560 0 0.0
.got 14992 14992 0 0.0
.init 24 24 0 0.0
.init_array 184 184 0 0.0
.rodata 456604 456604 0 0.0
.text 7417892 7417892 0 0.0
lighting-app debug+rpc (read only) 2314097 2314097 0 0.0
(read/write) 153536 153536 0 0.0
.bss 74944 74944 0 0.0
.data 2048 2048 0 0.0
.data.rel.ro 70776 70776 0 0.0
.dynamic 608 608 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 792 792 0 0.0
.rodata 186760 186760 0 0.0
.text 1961970 1961970 0 0.0
lock-app debug (read only) 2253241 2253241 0 0.0
(read/write) 148600 148600 0 0.0
.bss 73632 73632 0 0.0
.data 1568 1568 0 0.0
.data.rel.ro 67704 67704 0 0.0
.dynamic 592 592 0 0.0
.got 4336 4336 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 200168 200168 0 0.0
.text 1893138 1893138 0 0.0
ota-provider-app debug (read only) 2066369 2066369 0 0.0
(read/write) 141360 141360 0 0.0
.bss 73024 73024 0 0.0
.data 1768 1768 0 0.0
.data.rel.ro 60776 60776 0 0.0
.dynamic 608 608 0 0.0
.got 4504 4504 0 0.0
.init 27 27 0 0.0
.init_array 648 648 0 0.0
.rodata 179768 179768 0 0.0
.text 1728034 1728034 0 0.0
ota-requestor-app debug (read only) 2095585 2095585 0 0.0
(read/write) 144200 144200 0 0.0
.bss 73728 73728 0 0.0
.data 1960 1960 0 0.0
.data.rel.ro 62872 62872 0 0.0
.dynamic 592 592 0 0.0
.got 4344 4344 0 0.0
.init 27 27 0 0.0
.init_array 672 672 0 0.0
.rodata 175776 175776 0 0.0
.text 1759778 1759778 0 0.0
shell debug (read only) 2555537 2555537 0 0.0
(read/write) 201744 201744 0 0.0
.bss 117416 117416 0 0.0
.data 1376 1376 0 0.0
.data.rel.ro 77208 77208 0 0.0
.dynamic 608 608 0 0.0
.got 4192 4192 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 222194 222194 0 0.0
.text 2174258 2174258 0 0.0
thermostat-no-ble arm64 (read only) 2359708 2359708 0 0.0
(read/write) 177377 177377 0 0.0
.bss 88177 88177 0 0.0
.data 1520 1520 0 0.0
.data.rel.ro 79872 79872 0 0.0
.dynamic 560 560 0 0.0
.got 4768 4768 0 0.0
.init 24 24 0 0.0
.init_array 376 376 0 0.0
.rodata 147404 147404 0 0.0
.text 1983344 1983344 0 0.0
tv-app debug (read only) 2875017 2875017 0 0.0
(read/write) 280368 280368 0 0.0
.bss 191304 191304 0 0.0
.data 4672 4672 0 0.0
.data.rel.ro 78120 78120 0 0.0
.dynamic 592 592 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 221728 221728 0 0.0
.text 2470802 2470802 0 0.0
tv-casting-app debug (read only) 5432729 5432729 0 0.0
(read/write) 226256 226256 0 0.0
.bss 78888 78888 0 0.0
.data 2400 2400 0 0.0
.data.rel.ro 138736 138736 0 0.0
.dynamic 608 608 0 0.0
.got 4728 4728 0 0.0
.init 27 27 0 0.0
.init_array 864 864 0 0.0
.rodata 339264 339264 0 0.0
.text 4734114 4734114 0 0.0
mbed lock-app CY8CPROTO_062_4343W+release (read only) 6224 6224 0 0.0
(read/write) 2423816 2423816 0 0.0
.bss 202868 202868 0 0.0
.data 5872 5872 0 0.0
.text 1386460 1386460 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read/write) 1181375 1181375 0 0.0
bss 139532 139532 0 0.0
rodata 152656 152656 0 0.0
text 810288 810288 0 0.0
p6 all-clusters-app default (read/write) 2536592 2536592 0 0.0
.bss 137352 137352 0 0.0
.data 2800 2800 0 0.0
.text 1494856 1494856 0 0.0
light-app default (read/write) 2419880 2419880 0 0.0
.bss 129688 129688 0 0.0
.data 2600 2600 0 0.0
.text 1378144 1378144 0 0.0
lock-app default (read/write) 2437912 2437912 0 0.0
.bss 129496 129496 0 0.0
.data 2568 2568 0 0.0
.text 1396176 1396176 0 0.0
telink light-switch-app tlsr9518adk80d (read/write) 779400 779400 0 0.0
bss 70824 70824 0 0.0
noinit 40416 40416 0 0.0
text 551116 551116 0 0.0
lighting-app tlsr9518adk80d (read/write) 799424 799424 0 0.0
bss 71076 71076 0 0.0
noinit 40416 40416 0 0.0
text 567850 567850 0 0.0

@pankore
Copy link
Contributor Author

pankore commented May 30, 2022

/rebase

@pankore
Copy link
Contributor Author

pankore commented May 30, 2022

Hi @andy31415 ,
Please kindly help to check this PR, thanks!

BDXDownloader gDownloader;
AmebaOTAImageProcessor gImageProcessor;
chip::ota::DefaultOTARequestorUserConsent gUserConsentProvider;
static chip::ota::UserConsentState gUserConsentState = chip::ota::UserConsentState::kGranted;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: anonymous namespace does not need static.

@andy31415 andy31415 merged commit 5121bf8 into project-chip:master May 31, 2022
@pankore pankore deleted the connectivity_update branch June 1, 2022 04:20
step0035 pushed a commit to hank820/connectedhomeip that referenced this pull request Jun 2, 2022
…oot (project-chip#18661)

* [PersistentStorage] Update DCT domains
- Add chip-failsafe, chip-sessionresumptionindex, chip-sessionresumption
- Remove chip-dns

* [PersistentStorage] Update DCT domains
- Add chip-deviceinfoprovider

* [Connectivity] Use persistent storage wifi info to connect to wifi after reboot
* Implement AmebaUtils for wifi helper functions
* Update ConnectivityManagerImpl and NetworkCommissioningDriverWiFi to use AmebaUtils functions
* Add ChipGroupMessageCounters, ChipOthers2
* Remove ChipSessionResumptionIndex, which will be part of ChipOthers

* [OTA] Initiate OTA requestor after getting IPv6
* Add OTAHelper to initiate ota requestor from DeviceCallback
* Edit ConnectivityManager to allow link local IPv6 addresses

* [Connectivity] Use AmebaUtils function in NetworkCommissioningWiFiDriver

* Restyled by whitespace

* Restyled by clang-format

* [Connectivity] Rename OTAHelper to OTAInitializer

Co-authored-by: Restyled.io <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants